package com.yidu.sanrenxing.crudall.service;

import com.yidu.sanrenxing.crudall.domain.AdressMsg;

import java.util.List;

public interface AdressMsgService {
    List<AdressMsg> selectAll();

    int deleteByPrimaryKey(int adressmsgid);

    int insert(AdressMsg record);

    int insertSelective(AdressMsg record);

    AdressMsg selectByPrimaryKey(int adressmsgid);

    int updateByPrimaryKeySelective(AdressMsg record);

    int updateByPrimaryKey(AdressMsg record);

    /**
     * 通过地址信息编号查询地址信息表信息
     * @param adressMsgId
     * @return
     */
    AdressMsg getAdsMsgById(Integer adressMsgId);

    Integer updateAdsMsgById(AdressMsg adressMsg);

    Integer addAdsMsg(AdressMsg adressMsg);
}